/**
 * 存储工具类
 */
 
/**
 * 移除多个存储项
 * @param keys 要移除的存储键名数组
 */
export const removeStorage = (keys: string | string[]) => {
  if (Array.isArray(keys)) {
    keys.forEach(key => uni.removeStorageSync(key))
  } else {
    uni.removeStorageSync(keys)
  }
}
 
/**
 * 清除所有存储
 */
export const clearStorage = () => {
  uni.clearStorageSync()
}